import java.util.Scanner;

public class Part3_4 {
    public static void main(String[] args) {
        Scanner reader = new Scanner(System.in);
        double i = 0;
        System.out.println("请输入您的网购金额：");
        double pay = reader.nextDouble();
        System.out.println("请输入您和发货点的公里数：");
        double load = reader.nextDouble();
        if (load > 0 && load <= 10){
            i = 10;
        }
        if (load > 10 && load <= 50){
            i = 50;
        }
        if (load > 50 && load <= 100){
            i = 100;
        }
        if (load > 100){
            i = 200;
        }
        pay = i +pay;
        System.out.println("您所需缴纳的总金额为："+ pay);

    }
}
